﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Chung/QLSV.Master" AutoEventWireup="true" CodeBehind="ThemLichDay.aspx.cs" Inherits="proRFID_DiemDanh.LichDay.ThemLichDay" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentMain" runat="server">
    <div style="text-align:center; width:100%" >
    <%--<table align="center">
        <tr align="center" style="color:blue; ">
            <td width="100px">
                <asp:ImageButton ID="Imgcmd_ThemPhong" runat="server" onclick="Imgcmd_ThemPhong_Click"  ImageUrl="../Chung/img/phonghoc.png" Width="30px"/><br />
                Thêm phòng
            </td>
            <td width="100px">
                <asp:ImageButton ID="Imgcmd_ThemMon" runat="server" ImageUrl="../Chung/img/monhoc.png" onclick="Imgcmd_ThemMon_Click" Width="30px" /><br />
                Thêm môn
            </td>
            <td width="100px">
                <asp:ImageButton ID="Imgcmd_ThemLop" runat="server"  ImageUrl="../Chung/img/lophoc.png" onclick="Imgcmd_ThemLop_Click" Width="30px" /><br />
                Thêm lớp
            </td>
        </tr>
    </table>--%>
    <fieldset style="width:1000px;">
        <legend>Thêm Lich Dạy</legend>
        <table align="center" >
            <tr>
                <th>Ngày</th>
                <th>Buổi</th>
                <th>Giáo Viên</th>
                <th>Phòng</th>
                <th>Môn</th>
                <th>Lớp</th>
            </tr>
            <tr>
                <td class="border">
                    <asp:TextBox ID="txt_NgayDay" runat="server" TextMode="Date" Height="19px" 
                        Width="130" ></asp:TextBox></td>
                <td class="border"><asp:DropDownList ID="ddl_BuoiHoc" runat="server" Height="23px" Width="110px">
                        <asp:ListItem Value="0">--Chọn Buổi--</asp:ListItem>
                        <asp:ListItem Value="1">Sáng</asp:ListItem>
                        <asp:ListItem Value="2">Chiều</asp:ListItem>
                        <asp:ListItem Value="3">Tối</asp:ListItem>
                    </asp:DropDownList>
                    
                </td>
                <td class="border"><asp:DropDownList ID="ddl_GiaoVien" runat="server" Height="23px" Width="200px">
                    </asp:DropDownList>
                </td>
                <td class="border"><asp:DropDownList ID="ddl_PhongHoc" runat="server" Height="23px" Width="120px">
                    </asp:DropDownList>
                    
                </td>
                <td class="border">
                    <asp:DropDownList ID="ddl_MonHoc" runat="server" Height="23px" Width="115px">
                    </asp:DropDownList>                
                </td>
                <td class="border">
                    <asp:DropDownList ID="ddl_Lop" runat="server" Height="23px" Width="110px">
                    </asp:DropDownList>
                
                </td>
            </tr>
            <tr>
                <td>
                    <asp:RangeValidator ID="RangeValidator1" runat="server" 
                        ErrorMessage="2001 &lt; Năm &lt; 2050" CssClass="Thongbao" 
                        ControlToValidate="txt_NgayDay" MaximumValue="2050-12-31" 
                        MinimumValue="2001-01-01"></asp:RangeValidator><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ErrorMessage="Nhập ngày." ControlToValidate="txt_NgayDay" 
                        CssClass="Thongbao" ></asp:RequiredFieldValidator>
                </td>
                <td>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ErrorMessage="Chọn buổi." ControlToValidate="ddl_BuoiHoc" 
                        CssClass="Thongbao" InitialValue="0" ></asp:RequiredFieldValidator>
                </td>
                <td>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ErrorMessage="Chọn giào viên." ControlToValidate="ddl_GiaoVien" 
                        CssClass="Thongbao" InitialValue="0" ></asp:RequiredFieldValidator>
                </td>
                <td>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ErrorMessage="Chọn phòng." ControlToValidate="ddl_PhongHoc" 
                        CssClass="Thongbao" InitialValue="0" ></asp:RequiredFieldValidator>
                </td>
                <td>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                        ErrorMessage="Chọn môn." ControlToValidate="ddl_MonHoc" 
                        CssClass="Thongbao" InitialValue="0" ></asp:RequiredFieldValidator>
                </td>
                <td>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ErrorMessage="Chọn lớp." ControlToValidate="ddl_Lop" 
                        CssClass="Thongbao" InitialValue="0" ></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td colspan="6" style="text-align: right">
                    <asp:ImageButton ID="cmdLuu" runat="server" ImageUrl="~/Chung/img/save.png" CssClass="nutnhan"  
                        onclick="cmd_them_Click"/>
                    <a href="../LichDay/LichDay.aspx" ><img src="../Chung/img/cancel.png" class="nutnhan"/></a>
                </td>
            </tr>
        </table>
    </fieldset>
</div>
</asp:Content>
